
_citySize = getMarkerSize "CityZone";
_cityPos = getMarkerPos "CityZone";


_CivTypes=["BIS_CIV_special","Citizen3_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","Dr_Hladik_EP1","Functionary1_EP1","Functionary2_EP1","Haris_Press_EP1","Pilot_EP1","Profiteer2_EP1","Class Name","TK_CIV_Takistani01_EP1","TK_CIV_Takistani02_EP1","TK_CIV_Takistani03_EP1","TK_CIV_Takistani04_EP1","TK_CIV_Takistani05_EP1","TK_CIV_Takistani06_EP1","TK_CIV_Worker01_EP1","TK_CIV_Worker02_EP1"];

_nbCivTypes=count _CivTypes;

for "_i" from 1 to 200 do
{

	_CivType =_CivTypes select (random (_nbCivTypes-1));
	
	player groupChat  format["civ type : %1 , %2", _CivType];

	_group = createGroup Civilian;

	_Xpos=((_cityPos select 0) - (_citySize select 0)/2.0) + random (_citySize select 0);
	_Ypos=((_cityPos select 1) - (_citySize select 1)/2.0) + random (_citySize select 1);
	
	_CivType createUnit [ [_Xpos,_Ypos], _group,
							"test=this execFSM ""SimpleCivilFSM.fsm"";"];
	
	sleep (0.5);
};